<?php

declare(strict_types=1);

namespace App\CustHub\Annotation;

use Attribute;
use Hyperf\Di\Annotation\AbstractAnnotation;


/**
 * 验证签名
 */
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
class VerifySignature extends AbstractAnnotation
{
    /**
     * @param bool $checkSignTime 验证签名是否过期
     */
    public function __construct(public bool $checkSignTime = true) {}
}